<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/4/10
 * Time: 8:39
 */

//血糖记录

Route::post('/bloodThreshold', 'Dynamic\BloodThresholdController@store')->name('bloodThreshold');


Route::post('/bloodContrast/store', 'Dynamic\BloodGlucoseContrastController@store')->name('bloodContrast.store');
Route::get('/bloodContrast/getList', 'Dynamic\BloodGlucoseContrastController@getList')->name('bloodContrast.getList');


//
Route::get('/bloodTest/byTime', 'Dynamic\BloodTestController@getMonthBloodById')->name('bloodTest.byTime');
Route::post('/bloodTest/edit', 'Dynamic\BloodTestController@edit')->name('bloodTest.edit');
Route::get('/bloodTest/statistics', 'Dynamic\BloodTestController@getStatisticsList')->name('bloodTest.statistics');

//血糖设备
Route::get('/samWear/getListByUser', 'Dynamic\SamWearController@index')->name('samWear.user.list');
Route::get('/samWear/getListInfo', 'Dynamic\SamWearController@getListInfo')->name('samWear.user.listInfo');

//动态血糖
Route::get('/samGlucose/getListByUser', 'Dynamic\SamGlucoseController@index')->name('samGlucose.user.list');
Route::get('/samGlucose/getPictureList', 'Dynamic\SamGlucoseController@getPictureList')->name('samGlucose.picture.list');
Route::get('/samGlucose/getListByTimeByUId','Dynamic\SamGlucoseController@getListByTimeByUId')->name('samGlucose.user.time.list');



Route::post('/samReferGlucose', 'Dynamic\SamReferGlucoseController@store')->name('samReferGlucose');
Route::get('/samReferGlucose/getPictureList', 'Dynamic\SamReferGlucoseController@getPictureList')->name('samReferGlucose.picture.list');

//獲取全部根據設備查詢到的血糖信息
Route::get('/getDynamicBloodGlucose','Dynamic\BloodGlucoseController@getDynamicBloodGlucose')->name('getDynamicBloodGlucose');
Route::get('/bloodGlucose/freeBloodReport','Dynamic\BloodGlucoseController@freeBloodReport')->name('bloodGlucose.user.freeBloodReport.list');
Route::get('/bloodGlucose/generalReport', 'Dynamic\BloodGlucoseController@generalReport')->name('bloodGlucose.user.generalReport');

//获取用户用餐情况
Route::get('/bloodDiet/getListByUIdByTime','Dynamic\BloodDietController@getListByUIdByTime')->name('bloodDiet.user.diet.list');
Route::get('/bloodDiet/getListByTime','Dynamic\BloodDietController@getListByTime')->name('bloodDiet.user.diet.byTime.list');
Route::get('/bloodDiet/eatTangValue','Dynamic\BloodDietController@eatTangValue')->name('bloodDiet.user.eat.diet.list');
//获取用户运动情况
Route::get('/bloodMotion/getListByUIdByTime','Dynamic\BloodMotionController@getListByUIdByTime')->name('bloodMotion.user.list');
Route::get('/bloodMotion/getListByTime','Dynamic\BloodMotionController@getListByTime')->name('bloodMotion.user.byTime.list');
//获取用户用药情况
Route::get('/bloodMedication/getListByUIdByTime','Dynamic\BloodMedicationController@getListByUIdByTime')->name('bloodMedication.user.list');
Route::get('/bloodMedication/getListByTime','Dynamic\BloodMedicationController@getListByTime')->name('bloodMedication.user.byTime.list');
Route::get('/bloodMedication/sportTangValue','Dynamic\BloodMedicationController@sportTangValue')->name('bloodMedication.user.sport');

//获取用户事件列表
Route::get('/bloodEvent/getListByUid','Dynamic\BloodEventController@getListByUid')->name('bloodEvent.user.list');



